Set Variable(s) to Field Statistics (External Table)

IN THIS PAGE

Overview

The Set Variable(s) to Field Statistics (External Table) action retrieves statistical information (such as the count, minimum, maximum, average, and variance) about an external table's field or expression.

Procedure

  1. Select a table or set from the Table Name list.

  2. Optionally, enter a filter that selects records into the Filter field. Optionally, click the 'funnel' icon to display the Filter Builder.

  3. Enter a field name or an expression into the Expression field. Optionally, click x-y icon to display the Expression Builder.

  4. Enter the name you would like to use for the variable in the Variable Name field.

  5. Click Select Existing Variable to select from a list of existing variables. The actual variables created will be listed at the bottom of the genie. If a statistic does not apply to that field type, such as minimum for a Logical field, it will not be created.

  6. Select each object in the list and select the variable's scope from the Scope list. There are two options:

    • "Shared" - means that the variable can be used only by other scripts on the window

    • "Global" - means that all scripts can access the variable

  7. Click Next >.

  8. Optionally modify the comment that describes the action.

  9. Click Finish.

See Also